package com.aionengine.gameserver.model.templates.windstreams;

import javolution.util.FastList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * @author LokiReborn
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StreamLocations")
public class StreamLocations {
    @XmlElement(required = true)
    protected List<Location2D> location;

    public List<Location2D> getLocation() {
        if (location == null)
            location = FastList.newInstance();

        return this.location;
    }
}